package cn.zhku.edu.orderservice.service;

import cn.zhku.edu.feign.pojo.bo.Orderdetail;
import cn.zhku.edu.feign.pojo.entry.Order;
import cn.zhku.edu.feign.pojo.entry.Product;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author clk
 * @Date:2021/9/13 14:16
 **/
public interface OrderServies extends IService<Order> {
    int deleteByPrimaryKey(Order order);

    int insert(Order record);

    int insertdetail(Orderdetail order);

    int insertSelective(Order record);

    List<Order> selectByPrimaryKey(String uid);

    List<List<Orderdetail>> selectAllOrder(String uid);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

}
